package com.platform.user.center.portal.util;

/**
 * Created by churcy on 2017/3/17.
 */
public enum ResultCodeAndMessage {

    SUCCESS("20000","请求成功"),
    PARAM_ERROR("40001","请求参数错误"),
    VIRTUAL_CARD_EXIST("40002","请求参数错误"),
    SYS_ERROR("90001", "系统异常");

    private String code;
    private String message;

    ResultCodeAndMessage(String code, String message){
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
